#import "SilhouetteKineticCell.h"


@implementation SilhouetteKineticCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
	self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
	if (self) {

		self.selectionStyle = UITableViewCellSelectionStyleNone;
		//self.contentView.backgroundColor = UIColor.whiteColor;

		//: 初始化UI布局
		[self dreamscapeUnderwaterOasisSetupViews];
	}
	return self;
}

- (void)setTransformDriftHorizon:(SilhouetteKineticModel *)transformDriftHorizon {
	_transformDriftHorizon = transformDriftHorizon;

	//: 配置cell的UI



}
- (UITextField *)artistryIntrepidJellyTextField {
	if (!_artistryIntrepidJellyTextField) {
	
        _artistryIntrepidJellyTextField = [[UITextField alloc] init];
	}
	return _artistryIntrepidJellyTextField;
}

//: _kaleidoscopeFlexibilityBtn 的点击事件
- (void)action_2 {}

- (UIButton *)kaleidoscopeFlexibilityBtn {
	if (!_kaleidoscopeFlexibilityBtn) {
	
        _kaleidoscopeFlexibilityBtn = [[UIButton alloc] initWithFrame:CGRectZero];
        _kaleidoscopeFlexibilityBtn.frame = CGRectMake(49, 50, 67, 189);
        UIImage *quest = [UIImage imageNamed:@"images/icon_2.png"];
        if (quest) {
	        [_kaleidoscopeFlexibilityBtn setImage:quest forState:UIControlStateNormal];
        }
        [_kaleidoscopeFlexibilityBtn setTitle:@"button_2" forState:UIControlStateNormal];
        [_kaleidoscopeFlexibilityBtn setTitle:@"button_selected_2" forState:UIControlStateSelected];
        [_kaleidoscopeFlexibilityBtn setTitleColor:[UIColor colorWithRed:165/255.0 green:22/255.0 blue:79/255.0 alpha:0.8] forState:UIControlStateNormal];
        [_kaleidoscopeFlexibilityBtn setTitleColor:[UIColor colorWithRed:214/255.0 green:82/255.0 blue:77/255.0 alpha:0.8] forState:UIControlStateSelected];
        [_kaleidoscopeFlexibilityBtn addTarget:self action:@selector(action_2) forControlEvents:UIControlEventTouchUpInside];
	}
	return _kaleidoscopeFlexibilityBtn;
}

//: _flowUnityQuenchBtn 的点击事件
- (void)action_6 {}

- (UIButton *)flowUnityQuenchBtn {
	if (!_flowUnityQuenchBtn) {
	
        _flowUnityQuenchBtn = [UIButton new];
        _flowUnityQuenchBtn.frame = CGRectMake(17, 41, 96, 196);
        UIImage *illuminateZephyrElusive = [UIImage imageNamed:@"images/icon_6.png"];
        if (illuminateZephyrElusive) {
	        [_flowUnityQuenchBtn setImage:illuminateZephyrElusive forState:UIControlStateNormal];
        }
        [_flowUnityQuenchBtn setTitle:@"button_6" forState:UIControlStateNormal];
        [_flowUnityQuenchBtn setTitle:@"button_selected_6" forState:UIControlStateSelected];
        [_flowUnityQuenchBtn setTitleColor:[UIColor colorWithRed:68/255.0 green:209/255.0 blue:77/255.0 alpha:0.8] forState:UIControlStateNormal];
        [_flowUnityQuenchBtn setTitleColor:[UIColor colorWithRed:134/255.0 green:75/255.0 blue:0/255.0 alpha:1.0] forState:UIControlStateSelected];
        [_flowUnityQuenchBtn addTarget:self action:@selector(action_6) forControlEvents:UIControlEventTouchUpInside];
	}
	return _flowUnityQuenchBtn;
}

- (UIImageView *)lullabyInfiniteImageView {
	if (!_lullabyInfiniteImageView) {
	
        _lullabyInfiniteImageView = [UIImageView new];
        _lullabyInfiniteImageView.contentMode = UIViewContentModeScaleAspectFill;
        _lullabyInfiniteImageView.clipsToBounds = YES;
        _lullabyInfiniteImageView.layer.cornerRadius = 18;
        _lullabyInfiniteImageView.layer.masksToBounds = YES;
        _lullabyInfiniteImageView.frame = CGRectMake(40, 19, 143, 149);
        UIImage *flexibilityWhimsyXenophile = [UIImage imageNamed:@"images/image_8.png"];
        if (flexibilityWhimsyXenophile) {
	        _lullabyInfiniteImageView.image = flexibilityWhimsyXenophile;
        }
	}
	return _lullabyInfiniteImageView;
}

- (void)dreamscapeUnderwaterOasisSetupViews {

    //: 描述_0
    self.pathwayTextView = [UITextView new];
    self.pathwayTextView.size = CGSizeMake(143, 182);
    self.pathwayTextView.left = 37;
    self.pathwayTextView.top = 20;
    [self.contentView addSubview:self.pathwayTextView];

	//: 描述_1
	[self.contentView addSubview:self.artistryIntrepidJellyTextField];
	[self.artistryIntrepidJellyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(109);
		make.height.mas_equalTo(117);
		make.top.equalTo(@(26));
	}];

	//: 描述_2
	[self.contentView addSubview:self.kaleidoscopeFlexibilityBtn];


    //: 描述_3
    self.questIntrepidTextView = [UITextView new];
    [self.contentView addSubview:self.questIntrepidTextView];
	[self.questIntrepidTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(90);
		make.height.mas_equalTo(135);
	}];


    //: 描述_4
    UIView *gratitudeXylophoneMarble = [[UIView alloc] initWithFrame:CGRectZero];
    self.mandalaSereneSpiralView = gratitudeXylophoneMarble;
    [self.contentView addSubview:gratitudeXylophoneMarble];
	[self.mandalaSereneSpiralView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(53);
		make.height.mas_equalTo(32);
		make.top.equalTo(@(29));
	}];


    //: 描述_5
    UIView *heatwave = [UIView new];
    self.perceptiveFlourishView = heatwave;
    [self.contentView addSubview:heatwave];
	[self.perceptiveFlourishView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(196);
		make.height.mas_equalTo(150);
		make.top.equalTo(@(17));
	}];

	//: 描述_6
	[self.contentView addSubview:self.flowUnityQuenchBtn];


    //: 描述_7
    self.whimsyImaginationInstinctTextField = [[UITextField alloc] init];
    [self.contentView addSubview:self.whimsyImaginationInstinctTextField];
	[self.whimsyImaginationInstinctTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(132);
		make.height.mas_equalTo(50);
		make.top.equalTo(@(15));
		make.bottom.equalTo(@(28));
	}];

	//: 描述_8
	[self.contentView addSubview:self.lullabyInfiniteImageView];
}


@end